pub mod snowflake;
pub mod jwt;
mod common;
pub mod distributed_lock;
//
// use minio_rsc::client::PresignedArgs;
// use minio_rsc::Minio;
// use tracing::error;
//
// pub async fn fetch_presigned_url(minio: &Minio, bucket_name: &str, object_name: &str) -> Option<String> {
//     match minio
//         .presigned_get_object(
//             PresignedArgs::new(bucket_name, object_name)
//                 .expires(24*3600)
//         )
//         .await
//     {
//         Ok(resp) => Some(resp),
//         Err(e) => {
//             error!("Failed to get presigned URL: {}", e);
//             None
//         }
//     }
// }